<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="UTF-8">
		<title>我要借入</title>
		<link rel="stylesheet"  th:href="@{/css/base.css}"/>
		<link rel="stylesheet"  th:href="@{/css/index.css}"/>
		<link rel="stylesheet"  th:href="@{/css/message.css}"/>
		<link rel="stylesheet"  th:href="@{/css/bootstrap.min.css}"/>
		<!--[if lt IE 9]>

			<script th:src=" @{/js/html5shiv.js}"></script>
<style>
	.modal-backdrop {
		opacity: 0 !important;
		filter: alpha(opacity=0) !important;
	}
</style>
		<![endif]-->
		
	</head>
	<body>
		<div class="header_bg">
			<header>
				<a class="logo" href="#">
					<img th:src="@{../images/jdym.png}" style="width:140px;height: 75px"/>
				</a>

				<ul id="nav">
					<li><a href="/jump?pg=index ">首页</a><span class="ul-img"></span></li>
					<li><a href="/jump?pg=borrow_home_page ">我要借出</a><span></span></li>
					<li><a href="/jump?pg=account_fund_management ">我要借入</a><span></span></li>
					<li><a href="/jump?pg=personal_center ">我的账户</a><span></span></li>
					<li><a href="/jump?pg=borrow_calculator">贷款计算器</a><span></span></li>
					<li><a href="/jump?pg=help_center ">帮助</a><span></span></li>
					<li><a href="/jump?pg=news ">社区</a><span></span></li>
					<li><a href="/jump?pg=authentication ">本金保障</a><span></span></li>
				</ul>

				<!--				<div id="unentry_status">-->
				<!--					<a href="/firm/insert" id="header_entry">登录</a>-->
				<!--					<a href="/jump?pg=register " id="header_register">免费注册</a>-->
				<!--				</div>-->

				<ul id="person_message" style="display: block;margin-top: -55px;margin-left: 900px;float: left;width: 200px;">
					<li><a href="/jump?pg=personal_center "><span></span></a></li>
					<li><a href="/jump?pg=personal_center " th:text="${session.currentuser.firmName}"></a></li>
					<li><a href="/jump?pg=message "><span></span></a></li>
					<li><a href="/jump?pg=#"><span></span></a></li>
					<li><a id="leave" href="/firm/removeFirm">退出</a></li>

					<span id="person_message_num">22</span>

					<span id="message_setting1"></span>
					<ul id="message_setting2">
						<li>资料设置</li>
						<li>安全中心</li>
						<li>头像设置</li>
						<li><a href="/firm/update_pwd"> 修改密码</a></li>
						<li>选项名称</li>
					</ul>

				</ul>
			</header>



			<div class="lend_out_bg">
					<div class="lend_out">
						<a href="/jump?pg=borrow_details ">发布借款</a>
						<a href="/jump?pg=borrow_interest ">利息计算器</a>
						<a href="/jump?pg=borrow_credit_rating ">个人信用借出等级</a>
						<a href="/jump?pg=lend_list_details ">借出列表详情</a>
					</div>
				</div>
			
			<div class="borrow_in_bg">
					<div class="borrow_in">
						<a href="/jump?pg=borrow_details ">查找借款</a>
						<a href="/jump?pg=borrow_interest ">利息计算器</a>
						<a href="/jump?pg=borrow_credit_rating ">个人信用借入等级</a>
						<a href="/jump?pg=borrow_repayment_treatment ">还款</a>
						<a href="/jump?pg=lend_list_details ">借入列表详情</a>
						<a href="/jump?pg=lend_list ">查找放款</a>
					</div>
				</div>
			
		</div>
		
		<div class="lend_follow_main">
			<div class="lend_follow_main_left">
				
				<h5><span class="lend_follow_main_left_icon1"></span>我是借入者</h5>
				<p style="background-color: #FFFFFF;">我的账户首页<span style='color: #555555; float: right;'>&gt;</span></p>
				<p>我的借款列表</p>
				<p>银行卡</p>
				
				<h5><span class="lend_follow_main_left_icon2"></span>借出工具箱</h5>
				<p>我的还款</p>
				<p>自动投标记录查询</p>
				
				<h5><span class="lend_follow_main_left_icon3"></span>基本设置</h5>
				<p>安全中心</p>
				<p>编辑个人资料</p>
				<p>头像上传</p>
				
				<h5><span class="lend_follow_main_left_icon4"></span>资金管理</h5>
				<p>账户充值</p>
				<p>账户提现</p>
				<p>账户资金变动记录</p>
				
				<h5><span class="lend_follow_main_left_icon5"></span>市场活动</h5>
				<p>推荐奖励</p>
			</div>
			
			<div class="lend_follow_main_right">
				<div class="lend_follow_main_title">
					<div class="lend_follow_main_title_color">1</div>
					<h1>我的账户首页</h1>
				</div>
				
				<div class="Right_Main">
					<!--首页-->
					<div id="RightPage" class="account_fund_management_main" data-page="0">
						<div class="account_fund_management_main_left">
							<img src="images/personal_center_left_header_pic.jpg"/>
						</div>
						
						<div class="account_fund_management_main_right">
							<h5><span id="uName"></span>，欢迎来到本站！</h5>
							<p class="account_fund_management_main_right_p1">我的积分：<span class="account_fund_management_main_right_sp1">12分</span></p>
							<hr />
							
							<table class="account_fund_management_main_right_table" border="" cellspacing="" cellpadding="">
								<tr>
									<td colspan="2">如何获取积分值</td>
								</tr>
								
								<tr>
									<th><p class="account_fund_management_main_right_p3">去看看热门贷款：</p><a id="account_fund_management_main_right_btn1">去完成 &nbsp;+20</a></th>
<!--									<th><p class="account_fund_management_main_right_p3">可用金额：</p><span class="account_fund_management_main_right_sp1">&yen;500,000</span></th>-->
								</tr>
								
								<tr>
									<th><p class="account_fund_management_main_right_p3">实名认证：</p><a id="account_fund_management_main_right_btn1">去完成 &nbsp;+30</a></th>
<!--									<th><p class="account_fund_management_main_right_p3">绑定银行卡：</p><span class="account_fund_management_main_right_sp1">&yen;500,000</span></th>-->
								</tr>
								
								<tr>
									<th><p class="account_fund_management_main_right_p3" >绑定银行卡：</p><a id="account_fund_management_main_right_btn1" onclick="bindCard(this)">去完成 &nbsp;+50</a></th>
<!--									<th><p class="account_fund_management_main_right_p3">待收利息：</p><span class="account_fund_management_main_right_sp1">&yen;500,000</span></th>-->
								</tr>
								
							</table>
							
							<p class="account_fund_management_main_right_p4">试试去还款：<a href="/jump?pg=#">[借出统计]</a></p>
							<input type="button" name="account_fund_management_main_right_btn1" id="account_fund_management_main_right_btn1" value="充值" />
							<input type="button" name="account_fund_management_main_right_btn2" id="account_fund_management_main_right_btn2" value="提现" />
							
							<hr />
							

						</div>
					</div>
					
					<!--我的借款列表-->
					<div id="RightPage" class="borrow_list_main" data-page="1">
						<div class="lend_follow_main_right_header">
<!--							<p class="lend_follow_main_right_header_focus">我所关注的借款</p>-->
							<p class="lend_follow_main_right_header_focus">已审批的列表</p>
							<p>未审批的列表</p>
						</div>
						<!--page1-->
<!--						<div class="borrow_list2_table1">-->
<!--							-->
<!--						</div>-->
						
						<!--page3-->
						<table id="lend_follow_main_right_table"  class="borrow_list2_table3" cellspacing="" cellpadding="">
							<tr>
								<th>企业</th>
								<th>法人</th>
								<th>金额</th>
								<th>银行</th>
								<th>年利率</th>
								<th>期限</th>
								<th>审批状态</th>
								<th>创建时间/状态</th>
								<th>负责业务员</th>
							</tr>
							<tbody id="page3">
<!--						已审批								-->
							</tbody>
						</table>

						<!--page2-->
						<table id="lend_follow_main_right_table"  class="borrow_list2_table2" cellspacing="" cellpadding="">

							<tr>
								<th>企业</th>
								<th>法人</th>
								<th>金额</th>
								<th>银行</th>
								<th>年利率</th>
								<th>期限</th>
								<th>审批状态</th>
								<th>创建时间/状态</th>
								<th>负责业务员</th>
							</tr>
							<tbody id="page2">

							</tbody>
						</table>


					</div>

					<!--上传材料-->
					<div id="RightPage" class="upload_file_main" data-page="2" style="margin-top: 30px;">
						<div class="container-fluid">
							<div class="row">
								<span id="cardList"></span>
							</div>
						</div>
					</div>
					<!--逾期统计-->
					<div id="RightPage" class="overdue_analysis_main" data-page="3">
						<table class="overdue_analysis_table" border="" cellspacing="" cellpadding="">
							<tr>
								<td colspan="10">我的待还贷款账单</td>
							</tr>
							<tr>
								<th>放款银行</th>
								<th>贷款金额</th>
								<th>放款金额</th>
								<th>已还贷款</th>
								<th>未还贷款</th>
								<th>截止日期</th>
							</tr>
							<tbody id="loanPutReturn">

							</tbody>

						</table>
					</div>

					<!--基本设置-->
					<div id="RightPage" class="overdue_analysis_main" data-page="6">
						<table class="overdue_analysis_table" border="" cellspacing="" cellpadding="">
							<tr>
								<td colspan="4">企业基本信息</td>
							</tr>
							<tr>
								<td>企业：<span id="firm" style="color: blue"></span></td>
								<td>法人：<span id="person" style="color: blue"></span></td>
							</tr>
							<tr>
								<td>电话：<input type="text" id="tel" style="border: none;color: blue;width: 200px;"  contenteditable="true"><span onclick="fix()" style="margin-left: 10px ;color:blue">修改</span></td>
								<td>邮箱：<input type="text" id="mail" style="border: none;color: blue;width: 200px;" contenteditable="true"><span onclick="fix2()" style="margin-left: 10px;color:blue">修改</span></td>
							</tr>
							<tr>
								<td>地址：</td>
							</tr>
						</table>


						<table class="overdue_analysis_table" border="" cellspacing="" cellpadding="">
							<tr>
								<td colspan="4">资质备案信息</td>
							</tr>
							<tr>
								<td>法定代表人</td>
								<td id="legalperson" class="sptext"></td>
								<td>登记状态</td>
								<td id="registerStatus" class="sptext"></td>
							</tr>
							<tr>
								<td>注册资本</td>
								<td id="registerMaterial"  class="sptext"></td>
								<td>成立日期</td>
								<td id="registerDate"  class="sptext"></td>
							</tr>
							<tr>
								<td>企业类型</td>
								<td id="businessType"  class="sptext"></td>
								<td>所属行业</td>
								<td id="industry"  class="sptext"></td>
							</tr>
							<tr>
								<td>人员规模</td>
								<td id="staffSize"  class="sptext"></td>
								<td>参保人数</td>
								<td id="contributors"  class="sptext"></td>
							</tr>
							<tr>
								<td>统一社会信用代码</td>
								<td id="creditCode"  class="sptext"> </td>
								<td>纳税人识别号</td>
								<td id="taxNum"  class="sptext"></td>
							</tr>
							<tr>
								<td>组织机构代码</td>
								<td id="identyNum"  class="sptext"></td>
								<td>工商注册号</td>
								<td id="registerNum" class="sptext"></td>
							</tr>
							<tr>
								<td>经营范围</td>
								<th id="businessScope" colspan="4" class="sptext"></th>
							</tr>
						</table>
<input type="button" name="account_fund_management_main_right_btn1" id="account_fund_management_main_right_btn1" onclick="fixbeian()" value="资质变更" />
						<span id="check" style="color: red"></span>

					</div>
					<!--账户充值-->
					<div id="RightPage" class="account_recharge_main" data-page="8">
						
						<div class="lend_follow_main_right_header account_recharge_main_header">
							<p class="lend_follow_main_right_header_focus">即时到账充值</p>
							<p>非即时到账充值</p>
						</div>
						
						<!--page1-->
						<div class="account_recharge_main1">
							
							<p class="account_recharge_p1"><span class="account_recharge_p1_icon"></span>1：充值资金可用于进行多项认证、投标、还款等。<br />
							2：所有资金将由第三方平台 支付宝、财富通、银行等托管，借贷网本身不存放用户的投标保证金。<br />
							3：支持国内大部分银行的网上银行，充值成功后资金会立刻划拨到您的个人帐户。</p>
							
							<p class="account_recharge_p2">请选择下面您最便捷的方式进行帐户充值</p><span class="account_recharge_p2_sp">（充值金额小于10元免收手续费）</span><br />
							
							<p class="account_recharge_p3">填写充值金额：</p><input type="text" name="" id="account_recharge_p3_text" value="6" /><span>元</span><span class="account_recharge_p3_sp2">实际充值金额：6元</span><br />
							
							<p class="account_recharge_p3">选择支付平台：</p><input type="radio" name="account_recharge_p3_radio" id="account_recharge_p3_radio1" value="" checked="checked" /><div class="account_recharge_p3_pic"><img src="images/account_recharge_p3_pic1.png"/>转账费用：1%</div><input type="radio" name="account_recharge_p3_radio" id="account_recharge_p3_radio2" value="" /><div class="account_recharge_p3_pic"><img src="images/account_recharge_p3_pic2.png"/>转账费用：1%</div><br />
							<input type="radio" name="account_recharge_p3_radio" id="account_recharge_p3_radio3" value="" /><div class="account_recharge_p3_pic"><img src="images/account_recharge_p3_pic3.png"/>转账费用：1%</div><input type="radio" name="account_recharge_p3_radio" id="account_recharge_p3_radio4" value="" /><div class="account_recharge_p3_pic"><img src="images/account_recharge_p3_pic4.png"/>转账费用：1%</div><br />
							
							<input type="button" name="account_recharge_btn" id="account_recharge_btn" value="下一步" />
							
	   					</div>
	   					
	   					<!--page2-->
	   					<div class="account_recharge_main2">
	   						<p class="account_recharge_main2_p1"><span class="account_recharge_p1_icon"></span>若您的充值金额<span style="color: #e31600;">大于1000元</span>，未来节约汇款手续费，您可以选择支付宝非即时到账充值（转账手续费：封顶10元）<br />
							若您的充值金额小于1000元，会按照即时充值流程处理，收取1%的手续费（包括VIP用户）</p>
							
							<p class="account_recharge_main2_p2">您先到支付宝页面<a href="/jump?pg=#">http://me.alipay.com/jiedai</a>将资金成功充值到<span>cz@jiedai.com</span>账号，<br />
							然后回到此页面进行登记。<a href="/jump?pg=#">非即时充值使用流程帮助</a></p>
							
							<p class="account_recharge_p3">选择支付平台：</p><input type="radio" name="account_recharge_main2_radio" id="account_recharge_main2_radio" value="" checked="checked"/><div class="account_recharge_p3_pic"><img src="images/account_recharge_p3_pic2.png"/>转账费用：1%,封顶10元</div><br />
							
							<p class="account_recharge_p3">填写充值金额：</p><input type="text" name="" id="account_recharge_p3_text" class="account_recharge_main2_text1" value="6" /><span>元</span><span class="account_recharge_p3_sp2">实际充值金额：6元</span><br />
							
							<span class="account_recharge_main2_sp1">单笔充值金额请输入<span style="color: #e31600;">不小于1000元</span>的数字（可带2位小数）</span><br />
							
							<p class="account_recharge_p3">填写充值金额：</p><input type="text" name="" id="account_recharge_p3_text" class="account_recharge_main2_text2" value="6" /><br />
							
							<span class="account_recharge_main2_sp2">请在支付宝非即时充值成功后填写</span><br />
							
							<input type="button" name="account_recharge_btn" id="account_recharge_btn" class="account_recharge_btn2" value="下一步" />
							
	   					</div>
	   					
	   					<hr class="account_recharge_dashed" />
							
							<h6>借贷网提醒：</h6>
							<p class="account_recharge_p4">1：充值资金可用于进行多项认证、投标、还款等提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容。<br />
							2：充值资金可用于进行多项认证、投标、还款等提醒内容提醒内容。<br />
							3：充值资金可用于进行多项认证、投标、还款等提醒内容提醒内容提醒内容。<br />
							4：充值资金可用于进行多项认证、投标、还款等提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容充值资金可用金可用
		   于进行多项认证、投标、还款等提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容充值资金可用。</p>
		   
		   					<p class="account_recharge_p5">更多资金充值常见问题，请至<a href="/jump?pg=#">帮助中心</a>查看</p>
	   					
					</div>
					
					<!--账户提现-->
					<div id="RightPage" class="account_withdrawals_main" data-page="9">
						<p class="account_withdrawals_main_p1">提现是指把借贷网账户中的余额提取到银行卡中。<br />
						提取收费标准：账户余额大于3元，即可取出；转账失败将退还手续费（外部接口返还）；</p>
						<p class="account_withdrawals_main_p2">1-30000元，3元/笔；30001-45000，6元/比。</p>
					
						<hr class="account_withdrawals_main_dached" />
					
						<p class="account_recharge_p3">您的借贷网账户：</p><p class="account_withdrawals_main_p3">王昊<span class="account_withdrawals_main_sp1">wanghao@qq.com</span></p><br />
						
						<p class="account_recharge_p3">提现银行账户：</p>
					
						<div class="account_withdrawals_main_form">
							<div class="account_withdrawals_main_form1">
								<div class="account_withdrawals_main_form_p1">银行名称</div>
								<div class="account_withdrawals_main_form_p1">银行卡尾号</div>
								<div class="account_withdrawals_main_form_p1">到账日期</div>
								<div class="account_withdrawals_main_form_p1">操作</div>
							</div>
							<div class="account_withdrawals_main_form2">
								<div class="account_withdrawals_main_form_p2">招商银行</div>
								<div class="account_withdrawals_main_form_p2">4733</div>
								<div class="account_withdrawals_main_form_p2">预计1-3个工作日到账</div>
								<div class="account_withdrawals_main_form_p2"><a class="account_withdrawals_main_form_a1">编辑</a></div>
							</div>
						</div><br />
					
						<a class="account_withdrawals_main_form_a2">添加银行卡</a><br />
					
						<p class="account_recharge_p3">提现金额：</p><input type="text" name="account_withdrawals_main_text" id="account_withdrawals_main_text" value="6" /><span>元</span><br />
					
						<span class="account_withdrawals_main_sp2"><span style="color: #e31600;">可取金额：</span><span style="color: #e31600;">&yen;50000</span>（待处理的提现申请金额为<span style="color: #e31600;">&yen;5000</span> ;由于您有非提现标，您不能取现的金额为<span style="color: #e31600;">&yen;5000</span>）</span>
					
						<input type="button" name="account_recharge_btn" id="account_recharge_btn" class="account_withdrawals_main_btn" value="提  交" />
					
						<hr class="account_recharge_dashed" />
						
						<h6>借贷网提醒：</h6>
						<p class="account_recharge_p4">1：充值资金可用于进行多项认证、投标、还款等提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容。<br />
						2：充值资金可用于进行多项认证、投标、还款等提醒内容提醒内容。<br />
						3：充值资金可用于进行多项认证、投标、还款等提醒内容提醒内容提醒内容。<br />
						4：充值资金可用于进行多项认证、投标、还款等提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容充值资金可用金可用
	   于进行多项认证、投标、还款等提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容提醒内容充值资金可用。</p>
	   
	   					<p class="account_recharge_p5">更多资金充值常见问题，请至<a href="/jump?pg=#">帮助中心</a>查看</p>
				
				
						<div class="BlackScreen"></div>
					
						<!--编辑-->
						<div class="account_withdrawals_main_popup1">
							<h5>编辑新银行卡<span>&times;</span></h5>
							
							<p class="account_withdrawals_main_popup1_p1"><span class="account_withdrawals_main_popup1_sp1">*</span>银行账户类型：</p><span class="account_withdrawals_main_popup1_sp2">借记卡</span><br />
							
							<p class="account_withdrawals_main_popup1_p1"><span class="account_withdrawals_main_popup1_sp1">*</span>开户人名称：</p><span class="account_withdrawals_main_popup1_sp2">曾飞</span><br />
							
							<p class="account_withdrawals_main_popup1_p1"><span class="account_withdrawals_main_popup1_sp1">*</span>选择银行：</p>
							<div class="account_withdrawals_main_content_bg1">
								请选择<span class="account_withdrawals_main_content_btn1">
									<span></span>
								</span>
							</div><br />
							
							<p class="account_withdrawals_main_popup1_p1"><span class="account_withdrawals_main_popup1_sp1">*</span>开户银行所在城市：</p>
							<div class="account_withdrawals_main_content_bg2">
								北京<span class="account_withdrawals_main_content_btn2">
									<span></span>
								</span>
							</div>
							
							<div class="account_withdrawals_main_content_bg2">
								北京市<span class="account_withdrawals_main_content_btn2">
									<span></span>
								</span>
							</div>
							<br />
							
							<p class="account_withdrawals_main_popup1_p1"><span class="account_withdrawals_main_popup1_sp1">*</span>开户银行支行名称：</p>
							<input type="text" name="account_withdrawals_main_popup1_text1" id="account_withdrawals_main_popup1_text1" value="" /><br />
							
							<span class="account_withdrawals_main_popup1_sp3">没有我需要的支行，请自行填写</span><br />
							
							<p class="account_withdrawals_main_popup1_p1"><span class="account_withdrawals_main_popup1_sp1">*</span>银行卡号：</p><span class="account_withdrawals_main_popup1_sp2">************8821</span><br />
							
							<p class="account_withdrawals_main_popup1_p1"><span class="account_withdrawals_main_popup1_sp1">*</span>请输入上面银行卡号：</p>
							<input type="text" name="account_withdrawals_main_popup1_text1" id="account_withdrawals_main_popup1_text2" value="" placeholder="只允许输入数字"/><br />
							
							<span class="account_withdrawals_main_popup1_sp3">为了保证您的资金安全，请输入之前的银行卡号确认</span><br />
							
							<p class="account_withdrawals_main_popup1_p1"><span class="account_withdrawals_main_popup1_sp1">*</span>新的银行卡号：</p>
							<input type="text" name="account_withdrawals_main_popup1_text1" id="account_withdrawals_main_popup1_text2" value="" placeholder="只允许输入数字"/><br />
							
							<span class="account_withdrawals_main_popup1_sp3">输入您希望改成的新的银行卡号</span><br />
							
							<span class="account_withdrawals_main_popup1_sp4">此银行卡的开户名必须为“<span style="color: #df0000;">曾飞</span>”否则提现会失败</span><br />
							
							<input type="button" name="account_withdrawals_main_popup1_btn1" id="account_withdrawals_main_popup1_btn1" value="确定" />
							<input type="button" name="account_withdrawals_main_popup1_btn2" id="account_withdrawals_main_popup1_btn2" value="取消" />
							
							
						</div>
						
						<!--添加-->
						<div class="account_withdrawals_main_popup2">
							<h5>添加新银行卡<span>&times;</span></h5>
							
							<p class="account_withdrawals_main_popup2_p1"><span class="account_withdrawals_main_popup2_sp1">*</span>银行账户类型：</p><span class="account_withdrawals_main_popup2_sp2">借记卡</span><br />
							
							<p class="account_withdrawals_main_popup2_p1"><span class="account_withdrawals_main_popup2_sp1">*</span>开户人名称：</p><span class="account_withdrawals_main_popup2_sp2">曾飞</span><br />
							
							<p class="account_withdrawals_main_popup2_p1"><span class="account_withdrawals_main_popup2_sp1">*</span>选择银行：</p>
							<div class="account_withdrawals_main_content2_bg1">
								请选择<span class="account_withdrawals_main_content2_btn1">
									<span></span>
								</span>
							</div><br />
							
							<p class="account_withdrawals_main_popup2_p1"><span class="account_withdrawals_main_popup2_sp1">*</span>开户银行所在城市：</p>
							<div class="account_withdrawals_main_content2_bg1">
								请选择<span class="account_withdrawals_main_content2_btn1">
									<span></span>
								</span>
							</div><br />
							
							<p class="account_withdrawals_main_popup2_p1"><span class="account_withdrawals_main_popup2_sp1"></span></p>
							<div class="account_withdrawals_main_content2_bg1">
								请选择<span class="account_withdrawals_main_content2_btn1">
									<span></span>
								</span>
							</div><br />
							
							<p class="account_withdrawals_main_popup2_p1"><span class="account_withdrawals_main_popup2_sp1">*</span>开户银行支行名称：</p>
							<div class="account_withdrawals_main_content2_bg1">
								请选择<span class="account_withdrawals_main_content2_btn1">
									<span></span>
								</span>
							</div><br />
							
							<span class="account_withdrawals_main_popup1_sp3">没有我需要的支行，请自行填写</span><br />
							
							<p class="account_withdrawals_main_popup1_p1"><span class="account_withdrawals_main_popup1_sp1">*</span>银行卡号：</p>
							<input type="text" name="account_withdrawals_main_popup1_text1" id="account_withdrawals_main_popup1_text2" value="6" placeholder="只允许输入数字"/><br />
							
							<span class="account_withdrawals_main_popup1_sp4">此银行卡的开户名必须为“<span style="color: #df0000;">曾飞</span>”否则提现会失败</span><br />
							
							<input type="button" name="account_withdrawals_main_popup1_btn1" id="account_withdrawals_main_popup1_btn1" value="确定" />
							<input type="button" name="account_withdrawals_main_popup1_btn2" id="account_withdrawals_main_popup1_btn2" value="取消" />
							
						</div>
					</div>
					
					<!--账户资金变动记录-->
					<div id="RightPage" class="changes_in_account_funds_main" data-page="10">
					
					<div class="changes_in_account_funds_main1">
						<p class="changes_in_account_funds_main1_p1">资金类型：</p>
						
						<div class="changes_in_account_funds_main1_content_bg1">
						借出者投标成功<span class="changes_in_account_funds_main1_content_btn1">
							<span></span>
						</span>
						</div>
					
						<p class="changes_in_account_funds_main1_p2">时间：</p>
							
						<div class="changes_in_account_funds_main1_content_bg1">
							一周以内<span class="changes_in_account_funds_main1_content_btn1">
								<span></span>
							</span>
						</div>
						
						<input type="button" name="" id="changes_in_account_funds_main_btn" value="确定" />
					</div>
					<table class="changes_in_account_funds_main2" border="" cellspacing="" cellpadding="">
						<tr>
							<td colspan="2">资金统计</td>
						</tr>
						
						<tr>
							<th>账户余额：<span class="changes_in_account_funds_main_sp1">&yen;83.21</span></th>
							<th>可用余额：<span class="changes_in_account_funds_main_sp1">&yen;83.21</span></th>
						</tr>
						
						<tr>
							<th>冻结金额：<span class="changes_in_account_funds_main_sp1">&yen;83.21</span><span class="changes_in_account_funds_main_sp2">[正在竞标的借款]</span></th>
							<th>待收金额：<span class="changes_in_account_funds_main_sp1">&yen;83.21</span><span class="changes_in_account_funds_main_sp2">[待收的借款]</span></th>
						</tr>
						
						<tr>
							<th>净赚利息：<span class="changes_in_account_funds_main_sp1">&yen;83.21</span></th>
							<th>待还金额：<span class="changes_in_account_funds_main_sp1">&yen;83.21</span></th>
						</tr>
						
					</table>
					<table class="changes_in_account_funds_main3" border="" cellspacing="" cellpadding="">
						<tr>
							<td colspan="6">资金流水记录</td>
						</tr>
						<tr>
							<th>日期</th>
							<th>类型</th>
							<th>支出</th>
							<th>存入</th>
							<th>余额</th>
							<th>说明</th>
						</tr>
						<tr>
							<th>2013-08-10<br />22:00</th>
							<th>充值手续费</th>
							<th>&yen;83.21</th>
							<th>&yen;83.21</th>
							<th>&yen;83.21</th>
							<th>说明文字说明文字说明文字说<br />明文字说明文字说明文字说明</th>
						</tr>
						<tr>
							<th>2013-08-10<br />22:00</th>
							<th>充值手续费</th>
							<th>&yen;83.21</th>
							<th>&yen;83.21</th>
							<th>&yen;83.21</th>
							<th>说明文字说明文字说明文字说<br />明文字说明文字说明文字说明</th>
						</tr>
						<tr>
							<th>2013-08-10<br />22:00</th>
							<th>充值手续费</th>
							<th>&yen;83.21</th>
							<th>&yen;83.21</th>
							<th>&yen;83.21</th>
							<th>说明文字说明文字说明文字说<br />明文字说明文字说明文字说明</th>
						</tr>
					</table>
				</div>
				</div>	
			</div>
		</div>
		
		<div class="clear"></div>
<!--		<div id="details" class="pop">-->
		<div class="footer_bg2">
			<footer>
				<ul>      
					<li><a href="/jump?pg=#">常见问题</a>|</li>
					<li><a href="/jump?pg=#">媒体报道</a>|</li>
					<li><a href="/jump?pg=#">联系我们 </a>|</li>
					<li><a href="/jump?pg=#">加入我们 </a>|</li>
					<li><a href="/jump?pg=#">隐私保护</a></li>
				</ul>
				
				<p>Copyright©2013 daikuan All Rights Reserved   建智领航公司 版权所有</p>
			</footer>
		</div>
			<script th:src="@{/js/jquery-1.12.4.min.js}" type="text/javascript" charset="utf-8"></script>
			<script type="text/javascript" th:src="@{/js/Function.js}" ></script>
			<script type="text/javascript" th:src="@{/js/bootstrap.min.js}"></script>
		<script>
			$(function(){
				var c_start=document.cookie.indexOf('username' + "=");
				if(c_start == -1){
					$("#unentry_status").show();
					$("#person_message").hide();
				}else{
					$("#unentry_status").hide();
					$("#person_message").show();
				}
					$.ajax({
						url:'/loan/getLoanByFirmId/'+window.localStorage.getItem("firmId"),
						type:'post',
						success(result){
							var str="";
							console.log("==========");
							console.log('p_re:',result.data.loanInfo[0].firmName);

							$.each(result.data.loanInfo,function (index,obj) {
									console.log("0000",obj.firmName);
								str+="<tr><th><span class='lend_follow_main_right_table_span2'>"+obj.firmName+"</span></th>" +
										"<th><span class='lend_follow_main_right_table_span2'>"+obj.legalperson+"</span></th> "
										+"<th><span class='lend_follow_main_right_table_span2'>&yen;"+obj.loanAmount+"</span></th>"
										+"<th><span class='lend_follow_main_right_table_span2'>"+obj.cobankName+"</span></th>"
								+"<th><span class='lend_follow_main_right_table_span2'>"+obj.loanRate+"%</span></th>"
								+"<th>期限：<span class='lend_follow_main_right_table_span1'>"+obj.loanDeadline+"个月</span></th>"
										if(obj.loanStatus == 0){
											str+="<th th:if='obj.loanStatus eq 0'>审批成功</th>";
										}
										if(obj.loanStatus==1){
											str+="<th th:else='obj.loanStatus eq 1'>审批失败"+"<br/><span style='color: red'>原因:"+obj.advice+"</span></th>";
										}
										if(obj.loanStatus==2){
											str+="<th id='wait' th:else='obj.loanStatus eq 2'>审批中</th>";
										}
								str+="<th>"+obj.createtime+ "</th>"
								+"<th><span class='lend_follow_main_right_table_span1'>"+obj.name+"</span></th>"
										+"<th><span class='lend_follow_main_right_table_span1' style='display: none'>"+obj.loanId+"</span></th>"
										+"<th><span class='lend_follow_main_right_table_span1' style='display: none'>"+obj.checkId+"</span></th>"
										+"<th><span class='lend_follow_main_right_table_span1' style='display: none'>"+obj.firmId+"</span></th>"
								+"<th><button type='button' class='btn btn-primary btn-sm' data-toggle='modal' onclick='showDialog(this)' >在线留言</button></th></tr>";

							})
								$("#page2").html(str);//已审批
                            }

					})


			})

		</script>
<!--		留言模态框-->
		<!-- 模态框（Modal） -->

		<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<h5 class="modal-title" id="exampleModalLabel">在线留言</h5>
						<button type="button" class="close" data-dismiss="modal" aria-label="Close">
							<span aria-hidden="true">&times;</span>
						</button>
					</div>
					<div class="modal-body">
						<form id="msgForm">
							<div class="form-group">
								<label for="recipient-name" class="col-form-label">业务员:<span id="ywy"></span></label>
								<input type="hidden" id="MfirmId" name="companyId">
								<input type="hidden" id="sloanId" name="apllyLoanId">
								<input type="hidden" id="ywyId" name="businessId">
							</div>
							<div class="form-group">
								<label for="message-text" class="col-form-label">留言内容:</label>
								<textarea class="form-control" id="message-text" name="message">

								</textarea>
							</div>
						</form>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
						<button type="button" class="btn btn-primary" onclick="sendMsg()">发送</button>
					</div>
				</div>
			</div>
		</div>

<!--修改资质备案模块框-->
		<div class="modal fade" id="exampleModal2" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<h5 class="modal-title" id="exampleModalLabel">修改资质备案信息</h5>
						<button type="button" class="close" data-dismiss="modal" aria-label="Close">
							<span aria-hidden="true">&times;</span>
						</button>
					</div>
					<div class="modal-body">
						<form id="beianForm">
							<div class="form-group">
								<input type="hidden" name="certifyId" id="certifyId">
								<table class="overdue_analysis_table" border="none" cellspacing="" cellpadding="">
									<tr>
										<td>法定代表人：<span><input class="sptext" type="text" name="legalperson" id="legalperson1"></span></td>
										<td>注册资本：<span><input class="sptext" type="text" name="registerMaterial" id="registerMaterial1"></span></td>
									</tr>
									<tr>

									<tr>
										<td>企业类型：
										<select name="businessType" id="businessType1" class="sptext">
										<option>请选择...</option>
											<option>合资</option>
											<option>独资</option>
											<option>国营</option>
											<option>私营</option>
											<option>全名所有制</option>
											<option>集体所有制</option>
											<option>股份制</option>
											<option>有限责任</option>
										</select></td>
										<td>所属行业：<span class="sptext"><input class="sptext" type="text" name="industry" id="industry1"></span></td>
									</tr>
									<tr>
										<td>人员规模：<span><input class="sptext" type="text" name="staffSize" id="staffSize1"></span></td>

										<td>参保人数：<span><input class="sptext" type="text" name="contributors" id="contributors1"></span></td>
									</tr>
									<tr>
										<td colspan="4">经营范围：
										<span><textarea name="businessScope" id="businessScope1"  class="sptext" style="width: 470px;height: 100px"></textarea>
										</span></td>
									</tr>
								</table>
							</div>
						</form>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
						<button type="button" class="btn btn-primary" onclick="verifyRequest()">申请审核</button>
					</div>
				</div>
			</div>
		</div>

<!--	添加银行卡模态框-->
		<div class="modal fade" id="addCardModel" tabindex="-1" role="dialog" aria-labelledby="gridSystemModalLabel">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
						<h4 class="modal-title" id="gridSystemModalLabel">添加银行卡</h4>
					</div>
					<div class="modal-body">
						<form id="addCard">

							<div class="form-group" >
								<label for="exampleInputEmail1">银行</label>

									<span id="allBank"></span>

							</div>
							<div class="form-group">
								<label for="exampleInputPassword1">卡号</label>
								<input type="text" name="cardNum" class="form-control" id="exampleInputPassword1" placeholder="卡号">
							</div>
							<div class="form-group">
								<label for="exampleInputPassword1">绑定电话</label>
								<input type="text" name="phone" class="form-control" id="exampleInputPassword1" placeholder="卡号">
							</div>
						</form>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
						<button type="button" class="btn btn-primary" onclick="addCard()">保存</button>
					</div>
				</div><!-- /.modal-content -->
			</div><!-- /.modal-dialog -->
		</div><!-- /.modal -->


		<!--	添加银行卡模态框-->
		<div class="modal fade" id="returnCard" tabindex="-1" role="dialog" aria-labelledby="gridSystemModalLabel">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
						<h4 class="modal-title" id="gridSystemModalLabel">还款操作</h4>
					</div>
					<div class="modal-body">
							<input type="hidden" name="returnId" id="returnId">
							<label for="exampleInputPassword1">还款金额</label>
							<input type="text" name="putMoney" class="form-control" id="putMoney" placeholder="金额">

					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
						<button type="button" class="btn btn-primary" onclick="confirmReturn()">确定还款</button>
					</div>
				</div><!-- /.modal-content -->
			</div><!-- /.modal-dialog -->
		</div><!-- /.modal -->
	</body>
</html>
